package stackOverflow;

import java.util.ArrayList;

/** 
 * @author Boris Cherkasky
 * 
 * This Class is a container for the final result of application. it will hold a question object with
 * it's corresponding answer objects
 */
public class ResultObject {
    private CodeObject question;
    private ArrayList<AnswerObject> answers;
    
    public ResultObject(CodeObject question, ArrayList<AnswerObject> answers) {
	super();
	this.question = question;
	this.answers = answers;
    }

    public CodeObject getQuestion() {
        return question;
    }

    public void setQuestion(CodeObject question) {
        this.question = question;
    }

    public ArrayList<AnswerObject> getAnswers() {
        return answers;
    }

    public void setAnswers(ArrayList<AnswerObject> answers) {
        this.answers = answers;
    }
}
